package com.pray.praymall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * do something
 *
 * @author 魂悸魄
 * @date 2020/9/19 21:21
 */
@ConfigurationProperties(prefix = "praymall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    private Integer coreSize = 20;
    private Integer maxSize = 200;
    private Integer keepAliveTime = 10;
}
